#define _CRT_SECURE_NO_WARNINGS 1
#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define endl '\n'
const int N = 210;
int n;
char ch[N];
string s[4] = { "ooo*o**--*","o--*o**oo*","o*o*o*--o*","--o*o*o*o*" };

void print() {
	for (int i = 0; i < 2 * n + 2; i++) {
		cout << ch[i];
	}
	cout << endl;
}

void move(int st, int ed) {
	swap(ch[st], ch[ed]);
	swap(ch[st + 1], ch[ed + 1]);
	print();
}

int main() {
	ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
	cin >> n;
	for (int i = 0; i < n; i++) ch[i] = 'o';
	for (int i = n; i < 2 * n; i++) ch[i] = '*';
	ch[2 * n] = '-';
	ch[2 * n + 1] = '-';
	print();
	int len = n;
	while (true) {
		move(len - 1, 2 * len);
		len--;
		if (len == 3) break;
		move(len, 2 * len);
	}
	string t;
	for (int i = 0; i < n - 4; i++) {
		t += "o*";
	}
	for (int i = 0; i < 4; i++) {
		cout << s[i] << t << endl;
	}
	return 0;
}